Requires Restart
@Target(allowedTargets = [AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.CLASS ] )
Deprecated
Use RequiresInfo instead. If your setting or config doesn't require a full restart, consider one of the other Action options.
Replace with
import me.fzzyhmstrs.fzzy_config.config.ConfigInfo
Content copied to clipboard
@RequiresInfo(ConfigInfo.RESTART)
Content copied to clipboard
Properties or fields marked with RequiresRestart will prompt the user that changes will require a restart of the server/client
Classes marked with RequiresRestart will prompt the user that changes will require a restart of the server/client if any of their containing properties/fields are changed
On local sync (loading into the world), if a property doesn't match between synced data and locally loaded data, a screen will pop up prompting a restart
Author
fzzyhmstrs
Since
0.2.0